package content

import (
	"context"
	"gf_blog_admin/internal/service"

	"gf_blog_admin/api/content/v1"
)

func (c *ControllerV1) ArticleCateStore(ctx context.Context, req *v1.ArticleCateStoreReq) (res *v1.ArticleCateStoreRes, err error) {
	res = &v1.ArticleCateStoreRes{}
	err = service.ArticleCate().Store(ctx, &req.ArticleCateFormInput)
	return
}
